import platform


_system = platform.system().lower()

if _system == 'linux':
    from src.multi_platform.impl.hardware_info_impl_linux import HardwareInfoLinuxImpl
    hardware_util = HardwareInfoLinuxImpl()
elif _system == 'windows':
    from src.multi_platform.impl.hardware_info_impl_windows import HardwareInfoWindowsImpl
    hardware_util = HardwareInfoWindowsImpl()
else:
    raise NotImplementedError(f"不适配当前系统: {_system}")
